package com.example.demo.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name="question")
public class Question {
    @TableId(value = "question_id", type = IdType.AUTO)
    private int questionId;
    private int bankId;
    private String questionText;
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;
    private int correctAnswer;
    private int questionType;
    private int score;

}
